import request from '@/utils/request'

// GET /api/cockpit/provinces/getBusinessOpportunities
// 销售商机
export function getBusinessOpportunities(data) {
    return request({
      url: '/api/cockpit/provinces/getBusinessOpportunities',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getBusinessOpportunitiesStage30
// 30%以上商机
export function getBusinessOpportunitiesStage30(data) {
    return request({
      url: '/api/cockpit/provinces/getBusinessOpportunitiesStage30',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getCourseCapacity
// 产能数据
export function getCourseCapacity(data) {
    return request({
      url: '/api/cockpit/provinces/getCourseCapacity',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getFinance
// 运营财务数据
export function getFinance(data) {
    return request({
      url: '/api/cockpit/provinces/getFinance',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getGrossProfit
// 运营毛利数据
export function getGrossProfit(data) {
    return request({
      url: '/api/cockpit/provinces/getGrossProfit',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getNewSignContractAmount
// 产品销售金额数据
export function getNewSignContractAmount(data) {
    return request({
      url: '/api/cockpit/provinces/getNewSignContractAmount',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getNewSignData
// 新签和同数量及其金额
export function getNewSignData(data) {
    return request({
      url: '/api/cockpit/provinces/getNewSignData',
      method: 'get',
        params:data
    })
  }
// GET /api/cockpit/provinces/getOnLineCourseStock
// 在线课程生成管理库存情况
export function getOnLineCourseStock(data) {
    return request({
      url: '/api/cockpit/provinces/getOnLineCourseStock',
      method: 'get',
        params:data
    })
  }
//   GET /api/cockpit/provinces/getPaymentCollectAmount
// 周期回款
export function getPaymentCollectAmount(data) {
  return request({
    url: '/api/cockpit/provinces/getPaymentCollectAmount',
    method: 'get',
      params:data
  })
}
// GET /api/cockpit/provinces/getProductNewSignContractAmount
// 产品销售金额数据
export function getProductNewSignContractAmount(data) {
  return request({
    url: '/api/cockpit/provinces/getProductNewSignContractAmount',
    method: 'get',
      params:data
  })
}